<?php

/**
 * HorarioClase form.
 *
 * @package    sistema_estadisticas
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class HorarioClaseForm extends BaseHorarioClaseForm
{

	public function configure()
	{
		$minutes = array(0 => '00', 15 => '15', 30 => '30', 45 => '45');

		$this->widgetSchema->offsetGet('hora_inicio')->setOption('minutes', $minutes);
		$this->widgetSchema->offsetGet('hora_fin')->setOption('minutes', $minutes);
		$this->validatorSchema->setPostValidator(new ValidatorHorarioClase());
	}
}
